<h2>New Resource Group</h2>

<?php
echo $this->Form->create('Authresourcegroup');
echo $this->Form->input('name', array('label' => __('Resource Group Name', true), 'div' => false, 'class' => 'text ui-widget-content ui-corner-all', 'style' => 'width: 200px;'));
echo $this->Form->input('parent_id', array('label' => __('Resource Group Parent', true), 'type' => 'select', 'empty' => '- Ninguno -', 'options' => $parentresourcegroups, 'div' => false, 'class' => 'text ui-widget-content ui-corner-all', 'style' => 'width: 200px;'));
echo $this->Form->end(array('label' => __('Submit', true), 'div' => false, 'class' => 'ui-button ui-widget ui-state-default ui-corner-all', 'style' => 'padding-top: 2px; padding-bottom: 3px; margin-left: 4px;margin-top: 12px;'));
?>